package com.cwh.taskcenter.notice.converter;

import com.cwh.taskcenter.domain.notice.model.TaskNotification;
import com.cwh.taskcenter.notice.dto.TaskNotificationDTO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @author cwh
 */
@Mapper(componentModel = "spring")
public interface TaskNotificationConvert {

    TaskNotificationConvert INSTANCE = Mappers.getMapper(TaskNotificationConvert.class);

    TaskNotification toTaskNotificationDTO(TaskNotificationDTO dto);

}
